//
//  RW_UserSingleModel.h
//  SleepApp
//
//  Created by chuangqi on 2021/3/30.
//  Copyright © 2021 RiceWang. All rights reserved.
//

#import "RW_SingleModel.h"
#import "RW_UserSongModel.h"

NS_ASSUME_NONNULL_BEGIN
/**
 收藏歌单列表
 */
@interface RW_UserSingleModel : RW_SingleModel

/** 歌曲列表 */
@property (nonatomic,strong) NSArray<RW_UserSongModel *> *list;


#pragma mark -- 网络请求
/** 创建用户歌单 */
+ (FBLPromise<NSString *> *)createUserSingleName:(NSString *)singleName desc:(NSString *)singleDesc;
/** 所有收藏歌单获取 */
+ (FBLPromise<NSArray<RW_UserSingleModel *> *> *)getUserSingleList;
/** 收藏歌单详情 */
+ (FBLPromise<RW_UserSingleModel *> *)getUserSingleSongListId:(NSString *)xid;
/** 添加用户歌单绑定关系 */
+ (FBLPromise<NSString *> *)addSongToSingleParams:(NSDictionary *)params;
/** 删除歌单信息 */
+ (FBLPromise<NSString *> *)deleteToUserSingleId:(NSString *)userSingleId;
/** 更新歌单名称*/
+ (FBLPromise<NSString *> *)updataUserSingleId:(NSString *)userSingleId name:(NSString *)name;
@end

NS_ASSUME_NONNULL_END
